package com.fujimana.rockincat.restree.init.binder;

import com.fujimana.rockincat.restree.converter.Binder;
import com.fujimana.rockincat.restree.init.Item;

public class BinderItem implements Item {
	
	private String type;
	
	private Class<? extends Binder> binder;

	public BinderItem(String type, Class<? extends Binder> binder) {
		
		this.type = type;
		this.binder = binder;
	}

	@Override
	public String getType() {
		return BinderItem.class.getName();
	}
	
	public String getMimeType() {
		return this.type;
	}

	public Class<? extends Binder> getBinder() {
		return binder;
	}

}
